package com.itheima.stock.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zxh
 * @created 2024/11/4 23:24
 * @description
 */
@Data
@Component
@ConfigurationProperties(prefix = "stock.market.config")
public class MarketProperties {
    /**
     * 国内大盘指数
     */
    private List<String> inner;

    /**
     * 国外大盘指数
     */
    private List<String> outer;
}
